package com.caseeye.test

import com.caseeye.base.Repository
import org.springframework.stereotype.Component
import scala.reflect.BeanProperty
import javax.annotation.Resource
import org.springframework.beans.factory.annotation.Required

@Component
class ARepository extends Repository {

	@BeanProperty
	@Resource
	@Required
	var adao : ADAO = null
	
	def create:A=createRichDomainObject(classOf[A])
}